WooCommerce\PayPalCommerce\Button\Endpoint\ChangeCartEndpoint S

Total Complexity 26
Dependencies 9
Dependents 2
Total lines 277
Lines of code 133
Logical lines of code 56
Comment lines 93
Methods 9
Properties 6

Methods 9

Method Rating Maintainability Complexity Lines of code
products_from_data()
A
53 8 24
handle_data()
S
48 6 36
handle_request()
S
58 4 16
handle_error()
S
53 2 26
add_variable_product()
S
60 2 13
__construct()
S
67 1 8
nonce()
S
80 1 3
add_product()
S
78 1 3
generate_purchase_units()
S
76 1 4